package interfaces.superWidgets;

import interfaces.GUISource;

import org.fenggui.Label;
import org.fenggui.binding.render.ImageFont;

public class InterfaceLabel extends Label implements TextWidget {
	
	protected int wrapWidth;
	protected ImageFont labelFont;
	
	public InterfaceLabel(ImageFont font) {
		this("", font);
	}
	
	public InterfaceLabel(String text, ImageFont font) {
		super(text);
		labelFont = font;
		
		GUISource.setTheme(this);
		GUISource.setFont(this, font);
	}
	
	@Override
	public ImageFont getFont() { return labelFont; }
}